package top.wintp.offlinedataanalysis.anlyser.domain;

import java.io.Serializable;

/**
 * stats_view_depth
 * @author 
 */
public class StatsViewDepth extends StatsViewDepthKey implements Serializable {
    private Long pv1;

    private Long pv2;

    private Long pv3;

    private Long pv4;

    private Long pv510;

    private Long pv1030;

    private Long pv3060;

    private Long pv60Plus;

    private String created;

    private static final long serialVersionUID = 1L;

    public Long getPv1() {
        return pv1;
    }

    public void setPv1(Long pv1) {
        this.pv1 = pv1;
    }

    public Long getPv2() {
        return pv2;
    }

    public void setPv2(Long pv2) {
        this.pv2 = pv2;
    }

    public Long getPv3() {
        return pv3;
    }

    public void setPv3(Long pv3) {
        this.pv3 = pv3;
    }

    public Long getPv4() {
        return pv4;
    }

    public void setPv4(Long pv4) {
        this.pv4 = pv4;
    }

    public Long getPv510() {
        return pv510;
    }

    public void setPv510(Long pv510) {
        this.pv510 = pv510;
    }

    public Long getPv1030() {
        return pv1030;
    }

    public void setPv1030(Long pv1030) {
        this.pv1030 = pv1030;
    }

    public Long getPv3060() {
        return pv3060;
    }

    public void setPv3060(Long pv3060) {
        this.pv3060 = pv3060;
    }

    public Long getPv60Plus() {
        return pv60Plus;
    }

    public void setPv60Plus(Long pv60Plus) {
        this.pv60Plus = pv60Plus;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        StatsViewDepth other = (StatsViewDepth) that;
        return (this.getPlatformDimensionId() == null ? other.getPlatformDimensionId() == null : this.getPlatformDimensionId().equals(other.getPlatformDimensionId()))
            && (this.getDateDimensionId() == null ? other.getDateDimensionId() == null : this.getDateDimensionId().equals(other.getDateDimensionId()))
            && (this.getKpiDimensionId() == null ? other.getKpiDimensionId() == null : this.getKpiDimensionId().equals(other.getKpiDimensionId()))
            && (this.getPv1() == null ? other.getPv1() == null : this.getPv1().equals(other.getPv1()))
            && (this.getPv2() == null ? other.getPv2() == null : this.getPv2().equals(other.getPv2()))
            && (this.getPv3() == null ? other.getPv3() == null : this.getPv3().equals(other.getPv3()))
            && (this.getPv4() == null ? other.getPv4() == null : this.getPv4().equals(other.getPv4()))
            && (this.getPv510() == null ? other.getPv510() == null : this.getPv510().equals(other.getPv510()))
            && (this.getPv1030() == null ? other.getPv1030() == null : this.getPv1030().equals(other.getPv1030()))
            && (this.getPv3060() == null ? other.getPv3060() == null : this.getPv3060().equals(other.getPv3060()))
            && (this.getPv60Plus() == null ? other.getPv60Plus() == null : this.getPv60Plus().equals(other.getPv60Plus()))
            && (this.getCreated() == null ? other.getCreated() == null : this.getCreated().equals(other.getCreated()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPlatformDimensionId() == null) ? 0 : getPlatformDimensionId().hashCode());
        result = prime * result + ((getDateDimensionId() == null) ? 0 : getDateDimensionId().hashCode());
        result = prime * result + ((getKpiDimensionId() == null) ? 0 : getKpiDimensionId().hashCode());
        result = prime * result + ((getPv1() == null) ? 0 : getPv1().hashCode());
        result = prime * result + ((getPv2() == null) ? 0 : getPv2().hashCode());
        result = prime * result + ((getPv3() == null) ? 0 : getPv3().hashCode());
        result = prime * result + ((getPv4() == null) ? 0 : getPv4().hashCode());
        result = prime * result + ((getPv510() == null) ? 0 : getPv510().hashCode());
        result = prime * result + ((getPv1030() == null) ? 0 : getPv1030().hashCode());
        result = prime * result + ((getPv3060() == null) ? 0 : getPv3060().hashCode());
        result = prime * result + ((getPv60Plus() == null) ? 0 : getPv60Plus().hashCode());
        result = prime * result + ((getCreated() == null) ? 0 : getCreated().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pv1=").append(pv1);
        sb.append(", pv2=").append(pv2);
        sb.append(", pv3=").append(pv3);
        sb.append(", pv4=").append(pv4);
        sb.append(", pv510=").append(pv510);
        sb.append(", pv1030=").append(pv1030);
        sb.append(", pv3060=").append(pv3060);
        sb.append(", pv60Plus=").append(pv60Plus);
        sb.append(", created=").append(created);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}